package com.uchiha.nova.core.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.uchiha.nova.core.tool.support.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * 侧边栏 实体类
 *
 * @author magic
 */
@Data
@TableName("nova_nav_menu")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "NavMenu对象")
public class NavMenuEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 显示名称
	 */
    @Schema(description = "显示名称")
    @TableField("label")
	private String label;
	/**
	 * 路径
	 */
    @Schema(description = "路径")
    @TableField("path")
	private String path;
	/**
	 * 连接
	 */
    @Schema(description = "连接")
    @TableField("href")
	private String href;
	/**
	 * 组件
	 */
    @Schema(description = "组件")
    @TableField("component")
	private String component;
	/**
	 * 图标
	 */
    @Schema(description = "图标")
    @TableField("icon")
	private String icon;
	/**
	 * icon背景
	 */
    @Schema(description = "icon背景")
    @TableField("iconBgColor")
	private String iconBgColor;
	/**
	 * 参数
	 */
    @Schema(description = "参数")
    @TableField("meta")
	private String meta;
	/**
	 * 父类id
	 */
    @Schema(description = "父类id")
    @TableField("parent_id")
	private Long parentId;

}
